package com.dubbo.hyp.bean;

import com.dubbo.hyp.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerComponent {

    //@Reference(mock = "force:return 1234")
    @Reference
    private HelloService helloService;


    public void getTimeA() {
        helloService.queryTime1();
    }

    public void getTimeB() {
        helloService.queryTime2();
    }

    public void getTimeC() {
        helloService.queryTime3();
    }


}
